package com.gaojinqi.user.repository;

import com.gaojinqi.user.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author gaojinqi
 * @date 2019/5/30 2:01
 */
public interface UserInfoRepository extends JpaRepository<UserInfo, String> {

    UserInfo findByOpenid(String openid);
}
